package com.yhf.service;

import com.yhf.bean.Admin;
import com.yhf.bean.LoginForm;

import java.util.List;

public interface AdminService {
    Admin login(LoginForm loginForm);

    List<Admin> getAdminList(Admin admin);


    Admin findByName(String name);

    int addAdmin(Admin admin);

    int updateAdmin(Admin admin);

    int deleteAdmin(Integer[] ids);

    int updatePassword(Admin admin);
}
